package com.lib76.buildCode.model;

/**
 * 生成代码结果
 * @author 张浩
 *
 */
public class BuildCodeResult {

	private String realPath; //代码文件绝对路径
	private Boolean success = true;	//是否成功
	private String msg;	//错误消息
	
	public BuildCodeResult(){}
	
	public BuildCodeResult(String realPath,String msg){
		this.realPath = realPath;
		this.msg = msg;
	}
	
	public BuildCodeResult(String msg){
		this.success = false;
		this.msg = msg;
	}
	
	public String getRealPath() {
		return realPath;
	}
	public void setRealPath(String realPath) {
		this.realPath = realPath;
	}
	public Boolean getSuccess() {
		return success;
	}
	public void setSuccess(Boolean success) {
		this.success = success;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
}
